package org.sgx.dao;

import java.sql.Connection;

/**
 * this interface is used to usolate the connection source from this framework. Check the 
 * concrete implementation for common jdbc connections JDBCConnectionGiver.java
 * @author sg
 *
 */
public interface ConnectionGiver {
Connection getConnection() throws DaoException;
//long incrementCounter(String classId) throws DaoException;
boolean connectionMustClose();
}